<h1>Poll wijzigen (<a href="pollbeheer/delete/<?php echo $pollID?>">Poll verwijderen</a>)</h1>
<?php
	if(isset($editMsg))
	{
		echo $editMsg;
	}
?>
<form method="post" action="">
	<table>
		<tr></tr>
		<tr>
			<td width="50%"><strong>Vraag:</strong></td>
			<td><input name="question" value="<?php echo $question?>"></td>
		</tr>
		<tr>
			<th colspan="2">Antwoorden (minimaal 2 opties):</th>
		</tr>
		<tr></tr>
		<tr>
			<td width="50%"><strong>Antwoord 1:</strong></td>
			<td><input name="answer[]" value="<?php echo $answer[0]?>"></td>
		</tr>
		<tr>
			<td width="50%"><strong>Antwoord 2:</strong></td>
			<td><input name="answer[]" value="<?php echo $answer[1]?>"></td>
		</tr>
		<tr>
			<td width="50%"><strong>Antwoord 3:</strong></td>
			<td><input name="answer[]" value="<?php echo $answer[2]?>"></td>
		</tr>
		<tr>
			<td width="50%"><strong>Antwoord 4:</strong></td>
			<td><input name="answer[]" value="<?php echo $answer[3]?>"></td>
		</tr>
		<tr>
			<td><label><input type="checkbox" name="reset" value="reset" /> Reset de resultaten</label></td>
			<td><input name="addbutton" type="submit" value="Poll updaten" /></td>
		</tr>
	</table>
</form>